@import '../../variables.css';

.xwd-button {
  &:hover {
    transform: translateY(-2px);
  }
}

.ant-btn-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--xwd-primary);

  &::after {
    padding: 0.6px;
    background-color: var(--xwd-primary);
    width: 100%;
    content: '';
    margin-top: -8px;
  }

  &:hover::after {
    background-color: var(--xwd-link);
  }
}

.ant-btn {
  &:hover {
    // 移除默认的 transform
  }
}

.ant-btn-hover-transform {
  &:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
  }
}
